package com.ndp.fb.rdb.model.adpublishcondition;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Evan on 2015/3/24 15:48.
 */
@Setter
@Getter
@NoArgsConstructor
//no table ,use in business
public class RegionAndPriceExt implements Serializable {

    @Column(type = ColumnType.Long)
    private Long id;
    @Column(value = "condition_id",type = ColumnType.Long)
    private Long conditionId;
    @Column
    private String region;
    @Column
    private String type;
    @Column(type = ColumnType.Double)
    private Double price;
    @Column(type = ColumnType.Int)
    private Integer include;
    @Column(value = "connection_object_id",type = ColumnType.Long)
    private Long connectionObjectId;
    @Column("connection_object_name")
    private String connectionObjectName;
}
